<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$route['404_override'] = '';
$route['default_controller'] = "manage/index/index";
$route['index'] = "manage/index/index";
$route['exportfile'] = "manage/index/exportfile";
$route['login'] = "manage/authentic/login";
$route['logout'] = "manage/authentic/logout";
$route['profile'] = "manage/user/profile";

$route['manage/userecoupon/user-ecoupon']               = "manage/userecoupon/index";
$route['manage/userecoupon/user-ecoupon/(:num)']        = "manage/userecoupon/index";
$route['manage/userecoupon/search-user-ecoupon']        = "manage/userecoupon/searchuserecoupon";
$route['manage/userecoupon/add-user-ecoupon']           = "manage/userecoupon/adduserecoupon";
$route['manage/userecoupon/delete-user-ecoupon/(:num)'] = "manage/userecoupon/deleteuserecoupon";

/**
 * 
 * @void Campaign
 * 
 */

$route['manage/campaign/user-ecoupon'] = "manage/campaign/userecoupon";
$route['manage/campaign/user-ecoupon/trang-(:num)']        = "manage/campaign/userecoupon";
$route['manage/campaign/active-user-ecoupon']               = "manage/campaign/activeuserecoupon";
$route['manage/campaign/active-user-ecoupon/(:num)']        = "manage/campaign/activeuserecoupon";
$route['manage/campaign/search-user-ecoupon']        = "manage/campaign/searchuserecoupon";
$route['manage/campaign/view-user-ecoupon/(:num)']          = "manage/campaign/viewuserecoupon";
$route['manage/campaign/add-user-ecoupon']        = "manage/campaign/adduserecoupon"; // ***
$route['manage/campaign/delete-user-ecoupon/(:num)'] = "manage/campaign/deleteuserecoupon";


$route['manage/campaign/user-code']               = "manage/campaign/usercode";
$route['manage/campaign/user-code/trang-(:num)']        = "manage/campaign/usercode";
$route['manage/campaign/active-user-code']               = "manage/campaign/activeusercode";
$route['manage/campaign/active-user-code/trang-(:num)']        = "manage/campaign/activeusercode";
$route['manage/campaign/search-user-code']        = "manage/campaign/searchusercode";

$route['manage/campaign/view-user-code/(:num)']          = "manage/campaign/viewusercode";
$route['manage/campaign/add-user-code']        = "manage/campaign/addusercode";
$route['manage/campaign/delete-user-code/(:num)'] = "manage/campaign/deleteusercode";

$route['manage/campaign/report-gift-code']                   = "manage/campaign/reportusercode";
$route['manage/campaign/report-gift-code/trang-(:num)']                   = "manage/campaign/reportusercode";
$route['manage/campaign/report']                   = "manage/campaign/ajaxreporttable";
$route['manage/campaign/reportgiftcode']                   = "manage/campaign/ajaxreporttablegiftcode";
$route['manage/campaign/report-voucher-code'] = "manage/campaign/reportuservoucher";
$route['manage/campaign/report-voucher-code/trang-(:num)'] = "manage/campaign/reportuservoucher";

$route['manage/campaign/export-1-voucher'] = "manage/campaign/ajaxexport1voucher";
$route['manage/campaign/export-1-code'] = "manage/campaign/ajaxexport1code";
$route['manage/userecoupon/export-1-ecoupon'] = "manage/userecoupon/ajaxexport1ecoupon";

$route['search-voucher'] = "manage/campaign/searchvoucher";
$route['active-use-voucher'] = "manage/campaign/activeusevoucher";
$route['active-use-voucher/(:num)'] = "manage/campaign/activeusevoucher";
$route['success-active-voucher'] = "manage/campaign/successactivevoucher";
$route['success-active-voucher/(:num)'] = "manage/campaign/successactivevoucher";
